<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>用户注册</title>

    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->

    <!--引入字体图标相关的样式文件-->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
    <!-- 引入 layui.js -->
    <script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>

    <link rel="stylesheet" href="css/reg.css">


</head>
<body>



<header class="container"></header>

<section class="container">

    <div id="reg_box">

        <form action="reg">

            <div id="reg_input">
                <h3>用户注册</h3 >
                <div id="i1" class="glyphicon glyphicon-envelope">
                    邮&ensp;&ensp;箱:&ensp;
                    <input id="i1_em" v-model="mail" type="email" name="mail" required placeholder = "请输入邮箱地址" @blur="check1()"/>
                    <span v-if="i1_sp == 0" class="glyphicon glyphicon-ok"></span>
                </div>
                <div id="i2" class="glyphicon glyphicon-pencil">
                    密&ensp;&ensp;码:&ensp;
                    <input v-model="pass1" type="password" name="password" required placeholder = "请输入密码"/>
                </div>
                <div id="i3" class="glyphicon glyphicon-pencil">
                    密&ensp;&ensp;码:&ensp;
                    <input id="i3_pw" v-model="pass2" type="password" name="password1" required placeholder = "请再次输入密码" @blur="check2()"/>
                </div>
                <div id="i4" class="glyphicon glyphicon-phone">
                    电&ensp;&ensp;话:&ensp;
                    <input id="i4_tel" v-model="tel" type="tel" name="tel"  required placeholder = "请输入11位手机号码" @blur="check3()"/>
                </div>
            </div>
            <div id="vc">
                <input type="text" name="vc"  required placeholder = "请输入验证码"/>
                &ensp;&ensp;&ensp;
                <span id="vc_s">222222{{vc}}</span>
            </div>

            <div id="reg_button">
                <div id="a11"><input type="reset" class="btn btn-danger" value="重  置"/></div>
                <div id=""><input type="button" class="btn btn-info" value="注 册" @click="reg()"/></div>
                </div>

            <div id="reg_a">
                <a href="/login.html">已有账号 立即登录</a>
            </div>

        </form>

    </div>

</section>

<footer class="container"></footer>



<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
<!-- 加载sweetalert -->
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<!-- 引入vue框架 -->
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<!-- 引入axios框架 -->
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>

<script src="js/reg.js"></script>

<script>


</script>
</body>
</html>